package br.com.verde.exemploteca.regex

object SuffixExtrator {
  def main(args : Array[String]) : Unit = {
    val extractorRegex = "abc(.*)".r
    "abcwxyz" match {
      case extractorRegex(suffix) => println(suffix)
      case _ => println("not found") 
    }
  }
}
